<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>CKFinder.dataTypes.File - CKFinder 2 JavaScript API Documentation</title>

		<style type="text/css">
			/* default.css */
body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 230px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 260px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px;
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}

		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
	<h1>CKFinder 2 JavaScript API Documentation</h1>
	<hr />
</div>

		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div>
	<a href="../index.html">Code Index</a>
</div>
<hr />
<h2>Namespaces</h2>
<ul class="classList">
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.html">CKFinder</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ajax.html">CKFinder.ajax</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.config.html">CKFinder.config</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.html">CKFinder.dataTypes</a>
			</li>
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.dom.html">CKFinder.dom</a>
			</li>
		
	
		
	
		
	
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.env.html">CKFinder.env</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.tools.html">CKFinder.tools</a>
			</li>
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinderAPI.html">CKFinderAPI</a>
			</li>
		
	
</ul>
<h2>Classes</h2>
<ul class="classList">
	
		
	
		
	
		
	
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.Acl.html">CKFinder.dataTypes.Acl</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.BasketFolder.html">CKFinder.dataTypes.BasketFolder</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.Connector.html">CKFinder.dataTypes.Connector</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.File.html">CKFinder.dataTypes.File</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.Folder.html">CKFinder.dataTypes.Folder</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.ResourceType.html">CKFinder.dataTypes.ResourceType</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.html">CKFinder.dialog</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.html">CKFinder.dialog.definition</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.button.html">CKFinder.dialog.definition.button</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.checkbox.html">CKFinder.dialog.definition.checkbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.content.html">CKFinder.dialog.definition.content</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.contentObject.html">CKFinder.dialog.definition.contentObject</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.file.html">CKFinder.dialog.definition.file</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.fileButton.html">CKFinder.dialog.definition.fileButton</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.hbox.html">CKFinder.dialog.definition.hbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.html.html">CKFinder.dialog.definition.html</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.radio.html">CKFinder.dialog.definition.radio</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.select.html">CKFinder.dialog.definition.select</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.textarea.html">CKFinder.dialog.definition.textarea</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.textInput.html">CKFinder.dialog.definition.textInput</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.uiElement.html">CKFinder.dialog.definition.uiElement</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.vbox.html">CKFinder.dialog.definition.vbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definitionObject.html">CKFinder.dialog.definitionObject</a>
			</li>
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.dom.document.html">CKFinder.dom.document</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dom.domObject.html">CKFinder.dom.domObject</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dom.element.html">CKFinder.dom.element</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dom.node.html">CKFinder.dom.node</a>
			</li>
		
	
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.button.html">CKFinder.ui.dialog.button</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.checkbox.html">CKFinder.ui.dialog.checkbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.file.html">CKFinder.ui.dialog.file</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.fileButton.html">CKFinder.ui.dialog.fileButton</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.hbox.html">CKFinder.ui.dialog.hbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.html.html">CKFinder.ui.dialog.html</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.labeledElement.html">CKFinder.ui.dialog.labeledElement</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.radio.html">CKFinder.ui.dialog.radio</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.select.html">CKFinder.ui.dialog.select</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.textarea.html">CKFinder.ui.dialog.textarea</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.textInput.html">CKFinder.ui.dialog.textInput</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.uiElement.html">CKFinder.ui.dialog.uiElement</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.vbox.html">CKFinder.ui.dialog.vbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.xml.html">CKFinder.xml</a>
			</li>
		
	
		
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Class CKFinder.dataTypes.File
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
				
			
				
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class CKFinder.dataTypes.File.">
				<caption>Class Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#constructor">CKFinder.dataTypes.File</a></b>(name, size, thumb, date, dateF, folder, acl, custom)
							</div>
							<div class="description">File data type.</div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			

				
				

				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class CKFinder.dataTypes.File.">
					<caption>Field Summary</caption>
					<thead>
						<tr>
							<th scope="col">Field Attributes</th>
							<th scope="col">Field Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#custom">custom</a></b>
								</div>
								<div class="description">Object holding custom attributes send from server in XML response.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#date">date</a></b>
								</div>
								<div class="description">Date (modification time).</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#dateF">dateF</a></b>
								</div>
								<div class="description">Date (modification time, formatted).</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#ext">ext</a></b>
								</div>
								<div class="description">File extension.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#folder">folder</a></b>
								</div>
								<div class="description">Folder where file belongs to.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#index">index</a></b>
								</div>
								<div class="description">File's number in the files array.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#isDeleted">isDeleted</a></b>
								</div>
								<div class="description">Boolean flag indicating whether files was deleted.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#name">name</a></b>
								</div>
								<div class="description">File name.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#nameL">nameL</a></b>
								</div>
								<div class="description">File name (lowercased).</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#predefinedProperties">predefinedProperties</a></b>
								</div>
								<div class="description">Object holding names of predefined properies for File object.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#size">size</a></b>
								</div>
								<div class="description">Size of a file (in kilobytes).</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dataTypes.File.html#thumb">thumb</a></b>
								</div>
								<div class="description">Name of a thumbnail file (set only when directAccess to thumbnails is enabled).</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class CKFinder.dataTypes.File.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#aNode">aNode</a></b>()
								</div>
								<div class="description">Returns an &lt;a> element that displays a file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#blur">blur</a></b>()
								</div>
								<div class="description"></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#deselect">deselect</a></b>(keepOthers)
								</div>
								<div class="description">Deselects a file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#filenameNode">filenameNode</a></b>()
								</div>
								<div class="description">Returns CKFinder DOM element that displays file name.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#focus">focus</a></b>(multiple, noSelect)
								</div>
								<div class="description"></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#focusNode">focusNode</a></b>()
								</div>
								<div class="description"></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#getThumbnailUrl">getThumbnailUrl</a></b>(addHash)
								</div>
								<div class="description">Returns a complete url to a thumbnail.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#getUrl">getUrl</a></b>()
								</div>
								<div class="description">Returns url to a file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#isImage">isImage</a></b>()
								</div>
								<div class="description">Checks whether file is an image.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#isSameFile">isSameFile</a></b>(file)
								</div>
								<div class="description">Checks whether file and given file is equal.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#releaseDomNodes">releaseDomNodes</a></b>()
								</div>
								<div class="description"></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#remove">remove</a></b>()
								</div>
								<div class="description">Deletes (physically) a file from the server.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#rename">rename</a></b>(name)
								</div>
								<div class="description">Renames file (on a server) to a given name.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#rowNode">rowNode</a></b>()
								</div>
								<div class="description">Returns an element responsible for displaying a file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#select">select</a></b>(multiple)
								</div>
								<div class="description">Selects a file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dataTypes.File.html#toString">toString</a></b>()
								</div>
								<div class="description">Returns string represantation of a file.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Class Detail
				</div>
				
				<div class="fixedFont" style="float:left">
						<b>CKFinder.dataTypes.File</b>(name, size, thumb, date, dateF, folder, acl, custom)
				</div>

				<div style="float:right">
					<span class="heading">Since:</span>
						
							2.0
						
				</div>
				<div style="clear:both"></div>
				
				<div class="description">
					File data type.<div style="padding:10px;margin:10px;border:1px #000 solid;background:#E0E0E0">Note: the CKFinder.dataTypes namespace is not directly accessible (CKFinder.dataTypes is undefined).<br />Data types are used internally by CKFinder and returned by many functions, like <a href="../symbols/CKFinderAPI.html#getSelectedFile">CKFinderAPI#getSelectedFile</a>.</div><style type="text/css">.details .detailList {display:none;} </style>
					
				</div>
				
				
				
					
						<pre class="code">alert( api.getSelectedFile().name );</pre>
					
				
				
				
				
					
						<dl class="detailList">
						<dt class="heading">Parameters:</dt>
						
							<dt>
								<span class="light fixedFont">{Undefined}</span> <b>name</b>
								
							</dt>
								<dd></dd>
						
							<dt>
								<span class="light fixedFont">{Undefined}</span> <b>size</b>
								
							</dt>
								<dd></dd>
						
							<dt>
								<span class="light fixedFont">{Undefined}</span> <b>thumb</b>
								
							</dt>
								<dd></dd>
						
							<dt>
								<span class="light fixedFont">{Undefined}</span> <b>date</b>
								
							</dt>
								<dd></dd>
						
							<dt>
								<span class="light fixedFont">{Undefined}</span> <b>dateF</b>
								
							</dt>
								<dd></dd>
						
							<dt>
								<span class="light fixedFont">{Undefined}</span> <b>folder</b>
								
							</dt>
								<dd></dd>
						
							<dt>
								<span class="light fixedFont">{Undefined}</span> <b>acl</b>
								
							</dt>
								<dd></dd>
						
							<dt>
								<span class="light fixedFont">{Undefined}</span> <b>custom</b>
								
							</dt>
								<dd></dd>
						
						</dl>
					
					
					
					
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			
				<div class="sectionTitle">
					Field Detail
				</div>
				
					<a name="custom"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Object}</span>
					<b>custom</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Object holding custom attributes send from server in XML response.
						
					</div>
					
					
					
						
					
					

						
						
						

					<hr />
				
					<a name="date"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{String}</span>
					<b>date</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Date (modification time).
						
					</div>
					
					
					
						
							<pre class="code">201103181908</pre>
						
					
					

						
						
						

					<hr />
				
					<a name="dateF"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{String}</span>
					<b>dateF</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Date (modification time, formatted).
						
					</div>
					
					
					
						
							<pre class="code">3/18/2011 7:08 PM</pre>
						
					
					

						
						
						

					<hr />
				
					<a name="ext"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{String}</span>
					<b>ext</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						File extension.
						
					</div>
					
					
					
						
							<pre class="code">jpg</pre>
						
					
					

						
						
						

					<hr />
				
					<a name="folder"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{<a href="../symbols/CKFinder.dataTypes.Folder.html">CKFinder.dataTypes.Folder</a>}</span>
					<b>folder</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Folder where file belongs to.
						
					</div>
					
					
					
						
					
					

						
						
						

					<hr />
				
					<a name="index"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Integer}</span>
					<b>index</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						File's number in the files array.
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					

						
						
						

					<hr />
				
					<a name="isDeleted"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Boolean}</span>
					<b>isDeleted</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Boolean flag indicating whether files was deleted.
						
					</div>
					
					
					
						
					
					

						
						
						

					<hr />
				
					<a name="name"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{String}</span>
					<b>name</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						File name.
						
					</div>
					
					
					
						
							<pre class="code">Foo.jpg</pre>
						
					
					

						
						
						

					<hr />
				
					<a name="nameL"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{String}</span>
					<b>nameL</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						File name (lowercased).
						
					</div>
					
					
					
						
							<pre class="code">foo.jpg</pre>
						
					
					

						
						
						

					<hr />
				
					<a name="predefinedProperties"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Object}</span>
					<b>predefinedProperties</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Object holding names of predefined properies for File object.
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					

						
						
						

					<hr />
				
					<a name="size"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Integer}</span>
					<b>size</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Size of a file (in kilobytes).
						
					</div>
					
					
					
						
							<pre class="code">432</pre>
						
					
					

						
						
						

					<hr />
				
					<a name="thumb"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{String}</span>
					<b>thumb</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Name of a thumbnail file (set only when directAccess to thumbnails is enabled).
						
					</div>
					
					
					
						
							<pre class="code">alert( api.getSelectedFile().thumb );</pre>
						
					
					

						
						
						

					
				
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name="aNode"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{<a href="../symbols/CKFinder.dom.element.html">CKFinder.dom.element</a>}</span>
					<b>aNode</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Returns an &lt;a> element that displays a file.
						
					</div>
					
					
					
						
							<pre class="code">var file = api.getSelectedFile();file.aNode().appendHtml('(sample text)');</pre>
						
					
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/CKFinder.dom.element.html">CKFinder.dom.element</a>}</span> &lt;a> element that contains a file.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="blur"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>blur</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
						
						
						
						
						

					<hr />
				
					<a name="deselect"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>deselect</b>(keepOthers)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Deselects a file.
						
					</div>
					
					
					
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Undefined}</span> <b>keepOthers</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="filenameNode"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{<a href="../symbols/CKFinder.dom.element.html">CKFinder.dom.element</a>}</span>
					<b>filenameNode</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Returns CKFinder DOM element that displays file name.
						
					</div>
					
					
					
						
							<pre class="code">var file = api.getSelectedFile();alert(file.filenameNode().$.innerHTML);</pre>
						
					
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/CKFinder.dom.element.html">CKFinder.dom.element</a>}</span> Dom element.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="focus"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>focus</b>(multiple, noSelect)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Undefined}</span> <b>multiple</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{Undefined}</span> <b>noSelect</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="focusNode"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>focusNode</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
						
						
						
						
						

					<hr />
				
					<a name="getThumbnailUrl"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{String}</span>
					<b>getThumbnailUrl</b>(addHash)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Returns a complete url to a thumbnail.
						
					</div>
					
					
					
						
							<pre class="code">var file = api.getSelectedFile();alert( file.getThumbnailUrl() );</pre>
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Boolean}</span> <b>addHash</b>
									
								</dt>
								<dd>Whether to append hash code at the end of url.</dd>
							
							</dl>
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> Thumbnail url.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getUrl"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{String}</span>
					<b>getUrl</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Returns url to a file.
						
					</div>
					
					
					
						
							<pre class="code">api.openMsgDialog( api.getSelectedFile().getUrl() );</pre>
						
					
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> Url to a file.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="isImage"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Boolean}</span>
					<b>isImage</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Checks whether file is an image.
						
					</div>
					
					
					
						
							<pre class="code">// true for file.jpg, file.png etc.alert( api.getSelectedFile().isImage() );</pre>
						
					
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> True if image extension indicates that the file is an image.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="isSameFile"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Boolean}</span>
					<b>isSameFile</b>(file)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Checks whether file and given file is equal.
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{<a href="../symbols/CKFinder.dataTypes.File.html">CKFinder.dataTypes.File</a>}</span> <b>file</b>
									
								</dt>
								<dd>File object.</dd>
							
							</dl>
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> True if files are euqal.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="releaseDomNodes"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>releaseDomNodes</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
						
						
						
						
						

					<hr />
				
					<a name="remove"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>remove</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Deletes (physically) a file from the server.
						
					</div>
					
					
					
						
					
					
					
						
						
						
						
						
						

					<hr />
				
					<a name="rename"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>rename</b>(name)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Renames file (on a server) to a given name.
						
					</div>
					
					
					
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>name</b>
									
								</dt>
								<dd>New file name.</dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="rowNode"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>rowNode</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Returns an element responsible for displaying a file.
						
					</div>
					
					
					
						
							<pre class="code">var file = api.getSelectedFile();file.rowNode().hide();</pre>
						
					
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Undefined}</span> CKFinder.dom.element</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="select"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>select</b>(multiple)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Selects a file.
						
					</div>
					
					
					
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Undefined}</span> <b>multiple</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="toString"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{String}</span>
					<b>toString</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Returns string represantation of a file.
						
					</div>
					
					
					
						
					
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> Name of a file.</dd>
							
							</dl>
						
						
						

					
				
			

			<!-- ============================== event details ========================= -->		
			

			<hr />
		</div>
		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
	Copyright &copy; 2007-2015, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
</div>

	</body>
</html>
